package com.xueyi.system.sampleManager.service.impl;

import com.xueyi.system.sampleManager.domain.query.SampleManagerQuery;
import com.xueyi.system.sampleManager.domain.dto.SampleManagerDto;
import com.xueyi.system.sampleManager.service.ISampleManagerService;
import com.xueyi.system.sampleManager.manager.ISampleManagerManager;
import com.xueyi.common.web.entity.service.impl.BaseServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 取样留样管理 服务层处理
 *
 * @author xueyi
 */
@Service
public class SampleManagerServiceImpl extends BaseServiceImpl<SampleManagerQuery, SampleManagerDto, ISampleManagerManager> implements ISampleManagerService {

    /**
     * 查询取样留样对象列表 | 数据权限 | 附加数据
     *
     * @param sampleManager 取样留样对象
     * @return 取样留样对象集合
     */
    @Override
    //@DataScope(userAlias = "createBy", mapperScope = {"SampleManagerMapper"})
    public List<SampleManagerDto> selectListScope(SampleManagerQuery sampleManager) {
        return baseManager.selectListExtra(sampleManager);
    }

}